﻿


using Microsoft.AspNetCore.Builder;
using MyMqtt;
var builder = WebApplication.CreateBuilder(args);

builder.RegistByConfig(1883, 5000);
var app = builder.Build();

app.UseRouting();
app.UserMqttSeve();

app.Run(); Console.ReadLine();
